package com.yuyu.demo.spring4.beancycle;

public class BeanCycle {
	private String cycle;
	
	
	public String getCycle() {
		return cycle;
	}

	public void setCycle(String cycle) {
		this.cycle = cycle;
	}
	
	public BeanCycle() {
		super();
		System.out.println("constructor.............");
	}

	public void doInit() {
		System.out.println("init.................");
	}
	
	public void doDestory() {
		System.out.println("destory.................");
	}

	@Override
	public String toString() {
		return "BeanCycle [cycle=" + cycle + "]";
	}
	
	
}
